##
## $Id: Makefile.am,v 1.1 2008/01/09 19:01:28 jennifer Exp $
##

MANAGERS = dpmem event io msg mp part region sem signal timer rate_monotonic \
    ext

rtems_tests_PROGRAMS = monitor02.exe
monitor02_exe_SOURCES = init.c system.h

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

monitor02_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(monitor02_exe_OBJECTS) $(monitor02_exe_LDADD)
LINK_LIBS = $(monitor02_exe_LDLIBS)

monitor02.exe$(EXEEXT): $(monitor02_exe_OBJECTS) $(monitor02_exe_DEPENDENCIES)
	@rm -f monitor02.exe$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
